#if !defined(AFX_USERCFGDLG_H__CB508D9D_0187_4984_8FB0_A262F2702680__INCLUDED_)
#define AFX_USERCFGDLG_H__CB508D9D_0187_4984_8FB0_A262F2702680__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserCfgDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CUserCfgDlg dialog

class CUserCfgDlg : public CDialog
{
// Construction
public:
	bool IsAdmin(CString strUserName);
	int GetAdminCount();
	CUserCfgDlg(CWnd* pParent = NULL);   // standard constructor
	void InitList();
	CString strWorkType;
	int			m_nCurPlayIndex;
// Dialog Data
	//{{AFX_DATA(CUserCfgDlg)
	enum { IDD = IDD_USERCFG_DLG };
	CComboBox	m_combUserLevel;
	CListCtrl	m_listUserInfo;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUserCfgDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CUserCfgDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnUserAdd();
	afx_msg void OnBtnUserEdit();
	afx_msg void OnBtnUserDel();
	afx_msg void OnBtnUserSave();
	afx_msg void OnDblclkListUserinfo(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListUserinfo(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_USERCFGDLG_H__CB508D9D_0187_4984_8FB0_A262F2702680__INCLUDED_)
